//
// Created by fazhehy on 2024/3/22.
//

#ifndef TASK_H
#define TASK_H

#include "hy_common_inc.h"

extern char str[10][64];
extern float mag_angle;
extern uint8_t car[25];
extern uint8_t max_order;

uint8_t set_mag_deviate_angle(uint8_t keyNum);
uint8_t record_point_task(uint8_t keyNum);
uint8_t remote_control_task(uint8_t keyNum);
uint8_t mag_calibration_task(uint8_t keyNum);
uint8_t show_attitude_task(uint8_t keyNum);
uint8_t flash_write_param_task(uint8_t keyNum);
uint8_t flash_write_point_task(uint8_t keyNum);
uint8_t recover_all_param(uint8_t keyNum);
uint8_t adjust_current(uint8_t keyNum);
uint8_t show_car1(uint8_t keyNum);
uint8_t show_car2(uint8_t keyNum);
uint8_t set_lamp_num(uint8_t keyNum);
uint8_t flash_write_lamp_task(uint8_t keyNum);
uint8_t learn_task(uint8_t keyNum);
uint8_t test_brake(uint8_t keyNum);
//uint8_t test_imu(uint8_t keyNum);

#endif //TASK_H
